// 完整的main.ts代码如下 app.mount('#app')需放在最后
import { createApp } from 'vue';
import App from './App.vue';
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import zhCn from 'element-plus/es/locale/lang/zh-cn';
import 'virtual:svg-icons-register';
import globalComponents from './plugins/global-components';
import '@/styles/index.scss';

const app = createApp(App);
app.use(ElementPlus, { size: 'small', zIndex: 3000, locale: zhCn });
app.use(globalComponents);
app.mount('#app');
